package com.phoenix.mapper;

import com.phoenix.entity.MemberChampionship;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface MemberChampionshipMapper {
    Boolean addMemberChampionship(MemberChampionship memberChampionship);

    Boolean memberChampionshipDelete(List<String> idList);

    Boolean memberChampionshipDeleteSingle(String id);

    List<MemberChampionship> selectNSearch(Map<String, Object> search);

    List<MemberChampionship> selectNSearchForUser(Map<String, Object> search);

    MemberChampionship getMemberChampionshipByID(Integer ID);

    Boolean updateMemberChampionship(MemberChampionship memberChampionship);
}
